beautify homepage code