fix prettyphoto for jquery1.9