strip out redundant classnames from input button