Updated for use with jQuery 1.9
Merge pull request #1 from andrewbranch/master

Updated for use with jQuery 1.9