add gitignore
normalize formatting
readme
remove unused tables.js
clean up code, add submit event