Bit Bots - JavaScript