Javascript now uses JQuery for onLoad and onClick events