Some indentation changes on the homepage JavaScript