Modified the javascript to check if a video exists before trying to display it. It will display an error if not. This is a temporary fix until we change it so we can prevent the link from being displayed entirely.