CSS was added for index, JavaScript still being edited