Added alertifyjs

Added style and js for dialogs
Added image gathering capabilities to main.js
Removed superfluous function from index.html