fixed export to global scope
Merge pull request #15 from vomchik/master

fixed export to global scope