Add JS auto close alerts and auto size text area