prevents the playback from stalling after seek to the end of the video
improves the fix for preventing playback freezing after seeking to the end of the stream
improves "quota exceeded" error handling
another improvement for "quota exceeded" error handling
fixes playback freezing that was caused by bitrate switching
fixes jshint errors
fixes BufferController.hasEnoughSpaceToAppend