"javascript for slider homepage"

This reverts commit d9c1c09b504f5d06e496ccb9c0ea82ce2c738c9e.