created printcost.js