clean up youtubegif code