Makefile: Make the js-template dependency inclusion generic.
Makefile: Remove js-template .dep files in 'distclean'.