JS changes for text area resize