update to jquery 1.10.4, because jquery below it has bugs in Safari