[Runtime] Fix wrong write of variable name on js.

 Fix it.