Bug 1029967 - rewrite Makefile in email app in javascript

Scanning app/js/*.html files is only for onFileRead function.