Update to use JQuery and few other things.