Merge pull request #322 from afrjorge/require-js

[CDF-328] - Add support for Require.js in CDF