Added AppMessage JS