added jquery to keep the message height correct