Better error handling of page.a.js does not exist