Python Inserting Variable In String Javascript Functions With Parameters