further implemented require.js