Crafty JS basics