Fix: compile error when calling a func which is attached to JS object

Partially taken from https://github.com/appcelerator/hyperloop-common/pull/85

If symbol is not found, this could be a developer error by calling a function that does not exit
or it could be a JS function attached to the object. Let the JS engine handle it