Fix #207 and upgrade to jquery 1.10.2