Add homepage JS for slider

One less request for an uber-popular page.