Some cleaning up of html/js code for segmented playback prototype
More proper way of turning file ending into sting in javascript
Segmented video playback prototype is now complete. Segment selection and segmented playback both work now.