remove useless files and update makefile.js