Fix deprecation at recorder.js