clean up jshint globals, separate read-only from writable