Add JSLint globals exceptions

Add comments to escape some globals in the custom code for JSLint and
js2-mode.