Reading Input From User In Javascript Code