[CDF-441] - Fixing previous solution
Merge pull request #337 from jvelasques/require-js

[CDF-441] - Fixing previous solution