Jslint

Even though some JSLint changes are somewhat arbitrary, I find it helpful to identify any potential issues in the code, so it helps development too.