Localised jsapi.js