Finished the JS for the messages in the adminpanel. A message can now be read, and displayed correctly. The message is also marked as read when it is clicked.