Hangouts feature

a fix for previous PR on this feature.
Refactored js and specs for loading of hangout api and rendering the button.