BaraBariBall recreated in Javascript