removing empty spaces from textarea