updated nodejs API & javascript bot to shoot randomly