change the random-task implementation to use ajax rather than page reload
Merge branch 'randomtask' into randomtask-avoidlocked