A JavaScript substitute of makefile