Style should be set at the CSS level, and not via JavaScript (unless it is a dynamic style change, which this is not). Also, please verify that this doesn't break other login forms.