Reorder javascript files based on angular.module() declarations.