This is a very basic tutorial for programming online psychological RT tasks in JavaScript.
Zip containing the completed code.