Fixed sync_function.cc calling convertFromV8 for returns and self vars