Remove components from global namespace
What does this MR do?
This is a set of MR to accomplish the end result of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9750
Step 4:
- Removes components from global namespace
- Removes the use of IIFEs