message: bind anonymous functions
diff: @@ -137,7 +137,7 @@ Recorder.addEventHandler(
  record('click', locatorBuilders.buildAll(event.target), '')
  this.recordingState.preventClickTwice = true
  }
  - setTimeout(function() {
  + setTimeout(() => {
  this.recordingState.preventClickTwice = false
  }, 30)
  }
  @@ -252,10 +252,10 @@ Recorder.addEventHandler(
  }
  }
  this.recordingState.preventClick = true
  - setTimeout(function() {
  + setTimeout(() => {
  this.recordingState.preventClick = false
  }, 500)
  - setTimeout(function() {
  + setTimeout(() => {
  if (this.recordingState.enterValue != event.target.value)
  this.recordingState.enterTarget = null
  }, 50)
  @@ -279,7 +279,7 @@ Recorder.addEventHandler(
  )
  }
  - setTimeout(function() {
  + setTimeout(() => {
  this.recordingState.tempValue = this.recordingState.focusTarget.value
  }, 250)
  @@ -325,19 +325,13 @@ Recorder.addEventHandler(
  event.clientY < window.document.documentElement.clientHeight
  ) {
  mousedown = event
  - mouseup = setTimeout(
  - function() {
  + mouseup = setTimeout(() => {
  mousedown = undefined
  - }.bind(this),
  - 200
  - )
  + }, 200)
  - selectMouseup = setTimeout(
  - function() {
  + selectMouseup = setTimeout(() => {
  selectMousedown = event
  - }.bind(this),
  - 200
  - )
  + }, 200)
  }
  mouseoverQ = []
  @@ -485,9 +479,9 @@ Recorder.addEventHandler(
  'dragstart',
  function(event) {
  dropLocator = setTimeout(
  - function() {
  + () => {
  dragstartLocator = event
  - }.bind(this),
  + },
  200
  )
  },
  @@ -530,7 +524,7 @@ Recorder.addEventHandler(
  if (pageLoaded === true) {
  scrollDetector = event.target
  clearTimeout(prevTimeOut)
  - prevTimeOut = setTimeout(function() {
  + prevTimeOut = setTimeout(() => {
  scrollDetector = undefined
  }, 500)
  }
  @@ -555,12 +549,12 @@ Recorder.addEventHandler(
  let clickable = findClickableElement(event.target)
  if (clickable) {
  nodeInsertedLocator = event.target
  - setTimeout(function() {
  + setTimeout(() => {
  nodeInsertedLocator = undefined
  }, 500)
  nodeAttrChange = locatorBuilders.buildAll(event.target)
  - nodeAttrChangeTimeout = setTimeout(function() {
  + nodeAttrChangeTimeout = setTimeout(() => {
  nodeAttrChange = undefined
  }, 10)
  }
  @@ -631,7 +625,7 @@ Recorder.addMutationObserver(
  //TODO: fix target
  record('runScript', [['window.scrollTo(0,' + window.scrollY + ')']], '')
  pageLoaded = false
  - setTimeout(function() {
  + setTimeout(() => {
  pageLoaded = true
  }, 550)
  scrollDetector = undefined
  @@ -660,7 +654,7 @@ Recorder.addEventHandler(
  } else {
  pageLoaded = false
  clearTimeout(readyTimeOut)
  - readyTimeOut = setTimeout(function() {
  + readyTimeOut = setTimeout(() => {
  pageLoaded = true
  }, 1500) //setReady after complete 1.5s
  }
  