A javascript random walk animation