Javascript for reactionTime

The javascript