Ported Asset loading to Require.js