apps do not have to define mouseMoved so protect against unnecessary javascript errors when its  undefined.