Moved JS into separate file

Added automatic display of video tag and stream size below each video tag.