Hotfixes to make compatible with newer jQuery

$.browser and $.live functions were removed from jQuery
Merge pull request #31 from skandocious/master

Some hotfixes to make this compatible with newer version of jQuery