Various minor changes

Remove JS from main file. Use pids.js
Indentation fixes
HTML div fix
add .gitignore
Don't auto-reload during development
Move API key to separate unpublished file (whoops)