JavaScript version of VK video player