removes rainbow function and optimizes some styles