add video info, small js improvements