Create default.js

Initial commit of JS to support game play.