completed exercise with working messaging system and JQuery