Create automessenger.js