Cleaning up select.js, inc. linter and other minor issues
Fixing linter issues with url.js