Replace JavaScript alerts with toasts, dialogs, and divs.
Merge pull request #83 from mdandrea/master

Replaced JavaScript alerts with toasts, dialogs, and divs. Switched formatting to four spaces instead of tabs.