properly return 404 status code on nonexistent pages
Coffeescript 1.5.0 compatibility
404 handling