directives added to require.js
migrated all components to require.js