Get Input Field Value Javascript Interview Question