add current language as js-variable to main.gsp