created Globe component.
refactoring javascript.