Fixed JS errors due to github upgrade to jQuery 1.9