Added JS to use file name input for save.