Remove jQuery dependency.

This is a modified version of the pull request in #14.
It removes the jQuery dependency from the project.

Tested to work without jQuery on the latest Chrome/Firefox/IE.

It doesn't include any throttling.
It uses $window[0] instead of $window.