added craft file
added p2.js