Fix broken js unit tests for video player

This PR provide fix for disabled broken js unit tests.