Cleaner code in home/index.jsx