added some checks to updateTask for jgl_Done_ to see if phase was ended by button press. added initTurk to initialize the psiTurk object and preload all of the html pages