Fixes #493
Added support for jQuery 1.9.x. Dropped support for jQuery versions below 1.7