Improved javascript Makefile