Bug 1013720 - Bundle JS folder for components at build time

https://bugzilla.mozilla.org/show_bug.cgi?id=1013720