Fix compatibility issues

fix issues with jmpress in jQuery 1.9