Create a version of the script that isn't directly reliant on jQuery being available. Browser support would be limited to IE 8 and above.
Merge pull request #1 from oliverfarrell/master

Vanilla JS version of the script.