refactored code for colornodeborder
perfect node update
update perfect node fix
Adding documentational summaries to js files.
Merge branch 'master' into haoxuan3
Code review for moving update of node style to draw-model.js
Moved actual update from controller.js to draw-model.js
Otherwise, fixed up indentation a bit.
perfect node fix
Merge branch 'master' into sachin

Conflicts:
	www/js/calculations.js
	www/js/draw-model.js
	www/js/main.js