typo fixes in runtime.js