Finished deck.js