use require.js to avoid chrome not showing js in source tab