fix the js application template, to be able to re-use the jekyll variables and remove the static url from the template