prototype JS application to "cut" videos in modern browsers