limit the styling in the js