Update localize.js

I'm getting error 404 not found when deploying my webapp into a folder (site.local/myapp/#/) and localize.js search into site.local/i18n/ for files. I have solved removing the '/' from the requesting url. Now it should work for every locations.