Revert "Homepage: remove redundant JS"

This reverts commit 3b8632ea61a69da1bfeca49f803424f48c00ec03.