If all you really need to do is build a bot application for the web that loads instantly chat-bubble might be the right tool for you.
By the way, chat-bubble is an open-source, production-ready and is incredibly easy to install and customize. Entiere script is less than 300 lines of well-annotated code that you may optimize and change to your needs.
If you are looking for more details on the inner workings or an installation guide with some graphics, check out our Medium publication. Of course do open up a ticket or Pull Request on GitHub should you have a question or a fix in mind!