Added support for JavaScript->PHP bridged methods returning values