@JsFunction SAM auto-conversion

Change-Id: I9ad383bba068ccdbd725c1648336d41a73f3b004