removed language flag in javascript
Updated with changes from workopolis