Bug 1029967 - rewrite Makefile in email app in javascript

I think we don't find js dependencies for all the HTML files. We do that only for onFileRead's callback, right?