Changed .jshintrc 'undef' to true, added 'immed' and 'globals'