fixed bug with "new" version of jQuery

Signed-off-by: Sweil <mail@sweil.de>