Fixed jshint warnings
Fixed statement to compare with undefined
Updated minified file