fix: expose should check if "hawkejs" is defined, too