require Crafty correctly