Passing wordpress template to javascript