initial commit for controldeck.js and deck.js

I added controldeck.js and deck.js initially.