added support for jquery compatibility mode
Merge pull request #3 from drummer3333/master

jquery compatibility mode