JSLint changes & documentation tweaks