Fix flash imports
Throughout our JS & Vue code we do new Flash() because previously flash used to be a class. However flash is no longer a class so we should update all occurrences of new Flash() to be flash().
EDIT: When this refactor happens it should also be added to our docs
/cc @filipa
Edited by Filipa Lacerda