compile via.js for all the modules