Nearly have alerts changed over to javascript functions.
Generalizing the javascript fun calls based on flash alert type.
Fixed alert closing and fixed exclamation icon.
Merge branch 'fancy-error-handling'