#146462 by Gurpartap Singh: update jQuery to 1.1.2 and make the core JS files compatible with the new version