Move js config vars to an html partial