Added swp files to gitignore.
Added old JS files.