JavaScript optimization

Dark mode