Fix for jquery incompatbility

Couldn't get the requires form of jquery working after minimization
(worked in Michael's dev environment incidentally?!) so just used
standard JS. Still want to move this into a script file once we've
delivered May.