preparing for big mirgation
everything broken in magration to require.js