Remove unused methods
Remove comment
Add more jslint options
Use the template from the search page on the add layers dialog

Talk to Ian about a place where can put them to share.