Split JavaScript targets out from the main Makefile.