Replaced require.js with almond.js