add jshint rules, remove need for 'require(jquery)' statements, add sample mocha test
separated generate and render for board