Fixes and Updates

#199 wasn't properly fixed.
Added globals to jshintrc.
Updated packages to the latest stable versions.