- Added missing else ifs to runtime.js