added bot.js

this is a worker test, will require a local server to run in chrome.