Rewrote over holiday

Rewrote from scratch to fix a number of first-time mistakes and start
adding a little AJAX to write to DB. This is a modified version with any
persistence.
Don't ignore bower_components...

That was dumb. Also fix deletion index.