Better logging from webpage
Support slimerJS

SlimerJS doesn't support all the events on the page object. We need to
catch errors when trying to use them