using localize scirpt for js variables