Update manage-files.js

localhost -> document.domain