use yui to compress client js and remove the useless nodel_modules
fix the issue after compress