MPEG-DASH implemented with JavaScript