Python Inserting Variable In String Javascript Functions And Parameters