Remove jQuery dependancy from core.js

We can be happy without jQuery (sometimes)
The destruction of a message required jquery, but same functionality can be done with vanilla javascript.

TEST
Apply the patch and on admin just save an article if the message dissapears after clickin on x, everything still functions as before!
Try with ie8 etc