Added MessageID and fixed Ajax Bug