refactoring modify folder controller
build js