Added .hide-text class for Image Replacement
Modified to support the <main> tag in old browsers