javascript file backup first time