Crafty Javascript library example