Replaced jquery 2.x with 1.x branch, to allow support of IE8