JsRecorder adjusted for Firefox 20+