Python Insert Variable Into String Javascript Functions