JsCode: return statement or expression if possible