Merge pull request #328 from jvelasques/require-js

[CDF-441]-QueryComponent fails to fetch data