Updated index to no longer have inline styles.