jquery style conditional state
reset after submit