fix function binding for `this`
Merge pull request #2 from avetisk/master

fix function binding for `this`