Compose video links using jquery instead of raw html