Replace makefile with Grunt.js, and also use submodules instead of adding the code.