run prettyprint from js file