Interim fix for the jquery 1.9 update