The `on` function has three arguments. See https://github.com/openlayers/ol3/blob/master/src/ol/observable.js#L62.