Configurable alerts

the current code base calls the window.alert() method for
notifications, however, developers may want to redirect those messages
to an element on the page or display them differently e.g. using the
status bar.  this enhancement allows for that via the ‘alert’
configuration