Add closure compiled version
Wrap in anonymous function to avoid polluting global namespace
Merge pull request #1 from asgh/closure

Add closure compiled version