Print out result of compilation in JS
More nearly equivalent behavior