better support for jquery