Create chatmaint.js

This file makes it easier to put the chat into