allow trusted api to access the globals
slight spacing fixes.
Merge pull request #36 from bcoe/feature/secure_context_vars

Feature/secure context vars