move "thank you" msg styling from JS to CSS

The white background being set in JS was persisting even if one removed
the alt value.