Update recorder.js (from upstream)