Cleaned homepage js