Javascript Save Input Value To Text File