Added crafty js and index page