Be more consistent about types

For more details see https://github.com/videojs/videojs-contrib-hls/issues/103
@dmlap I thought about removing that line. But I decided against it, because that would change the semantics. I can't tell whether that if-block should only be entered if fillbuffer had been called by the 'timeupdate' event dispatcher, or not.