Restructuring JS so we can have a separate file for observers on dispatched minicart events