how to take input from input box in javascript