Lots of changes

* Made to comply with the new jQuery plugins site
* Improved logic working for all the newest major browsers