updated to new loca.js version