js improvement and translations