Cleanup runtime.js - remove old code, remove dead comments