Edited so that the new active class only applies to textarea.