Remove unnecessary code from home page