Updated js to test youtube connectivity