fixing bug #839
Merge pull request #840 from ultraklon/modification3

Adapt to deal with changed jQuery name - fixes #839