Update bot.js

My understanding of JavaScript is Horrible. Here's hoping it works.