changes to print.js