Small juggling game, written in JavaScript