added widthheightvideo.js script. modified test/index.html to load that