clean up source code (JSLint)