Slime volleyball in Javascript