Moved some of the handlers to mycroft.js