Send message data via ajax