improved formatting on string arguments passed to xbrowser/console.log