Added existing modification to script to ensure jquery 1.9.1 compliance