refactoring
ny require-js bas