Resorted to integer representation of board.
Readded depth adjustment
Merge branch 'master' into gh-pages

Conflicts:
	js/AI/AI.js
Removed log messages
Merge branch 'master' into gh-pages