jslint minor tidies
jslint cleanups

Most important fix here is making sure storeURL is not a global.