Toaster code moved to views/resources/js/upload-helper.js
