fyi this works:

function myfoobar() {
  // this === xthing always
}.bind(xthing);