Add homepage JS for slider
Merge pull request #2641 from darkwing/homepage-resource

Add homepage JS for slider