Better 404 handling for unavailable resources

Quick fix for [MLHR-1177](https://malhar.atlassian.net/browse/MLHR-1177)

![image](https://cloud.githubusercontent.com/assets/1390651/3253008/05da0e7c-f1cd-11e3-80a4-c8cf0d443372.png)