Added a helper and a JS tweak to home page