This should be $('#message').
Also, avoid repeating selectors.