Bug 1029967 - rewrite Makefile in email app in javascript

yeah, we scan html files only for `onFileRead`.