add invoke on object method
Merge pull request #30 from cpgf/feature/invokeFunctionOnObject

add invoke on object method