#63 fixed issues with js variables, localization in php