Detect paste event for textbox. From http://stackoverflow.com/questions/5450449/detect-paste-in-input-box