added crafty.js