Spring cleaning of `local.js`