s/webkitRequestAnimationFrame/requestAnimationFrame
s/log.watch/log.observe, Firefox natively has a watch property.