Update app.js

Avoids mimetype to be casesensitive. Closes #196