Update pushState.js

detect 404 errors and show a custom message.