Get web.js to print from index.html