Move css fix from JS to CSS file