Moved styles into JS