remove gombot.js, make all code inline, to simplify test case
add code to run as a web-worker