small refactoring module defer
remove all dom module file