Python Insert Variable Into String Javascript Methods And Functions