A javascript motion detection experiment.