(Bug fix) Prevent Modx.console onMessage callback accumulating.

Previously, if you'd run modx.console X times (open,closed, and reopen)  the onMessage callback would be called X times, instead of only once.
Resolved simply by changing from anonymous JS function to named one.