None of the video button overlay stuff seems like it should belong in the onImageLoad handler. These elements can be defined in the constructor as properties and a helper function (setupVideoThumb or something) could be executed in the Initialization section.