fixed issue with jquery 1.9.0
Merge pull request #3 from hendricius/master

Fixed issue with jQuery 1.9.0