makefile: replace hard-coded list of files
makefile: enable echoing
makefile: add `clean` target
makefile: simplify JavaScript file generation