Fix javascript bug, add styling to index
Add styling index styling across types