ensure js variables are in the global scope
Merge pull request #77 from madepeople/master

ensure js variables are in the global scope