social: typechecking globals

All these globals are terrifying. But 3rd parties horray
Merge pull request #20 from behance/social-check

social: typechecking globals