Added isActive function.
Cached jQuery window object for better perfomance.
Moved eventType to options object.
Added grunt.
Changed settings to options.