Phantomjs-based bot for browser game