Grunt.js task that prepares javascript files for concatenation setting them in correct order using dependency tree