Create pieces.js