Make deleteFile.js CommonJS-compatible

Initialize deleteFile view model for github
in file-detail.js.