tried moving getTopVideos function to custom.js