Extend javascript support for object functions
Fix match bug
Merge pull request #17 from mephux/master

Add javascript object function support.