combine two listeners into one, inline function that is only used once
combine two listeners into one, inline function that is only used once

Mosoc/oboe.js,wbh5/oboe.js,ethanresnick/oboe.js,erpframework/oboe.js