Adds additional logging to the javascript console