Wrap dynamic script to avoid globals
Merge pull request #12 from teddyzeenny/wrap-code

Wrap dynamic script to avoid globals