move template variables in js to top
arm jqueryElement binding against knockout conflicts