Merge pull request #283 from afrjorge/require-js

[CDF-331] - Create a module for each component