Update js_runtime.go

add runtime argument for golang function embeded for javascript