JS name input now works