self.autoFiles = !!options.autoFiles;

probably a typo