Modify error reporting on page.coffee