Fixing Cannot call method 'call' of undefined
Merge pull request #51 from krasimir/master

Fixing Cannot call method 'call' of undefined