Move the preDispatch middleware handlers to a separate module
Move the preDispatch middleware handlers to a separate module

vistadataproject/metaPureJS,vistadataproject/metaPureJS,vistadataproject/metaPureJS