fixed double respond.js and 404 message