compatibility with some old jQuery versions
Merge pull request #87 from RoboterHund/master

compatibility with some old jQuery versions