Adding mock message event for phantomjs