javascript function to extract the bitrate of a mp4 file