Use `dolist' instead of `mapc'.
Use js2-mode for `.js' files.