Handling clearing "Start typing here." in JS