Added gitignore for swaps and ~ files, removed main.js~