Edit file name's javascript