Updated javascript to remove youtube API calls