corrections for jQuery core 1.9.0 and changes in lib_jquery