Update index.js

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