Update index.js

prevents models/index.js from reading in backup/autosave files generated by texteditors. (eg. emacs appends "~" for backup files, wraps "#" around file names for autosave files)