Update locals.js