Removing code at point where I introduced require.js. Need to refactor them now