centers homepage; moves jquery to layout