add junk files to gitignore
added ajax so that user sees loading spinner until api calls go through
Merge branch 'optimization'