Added javascript for AI calls.
Cleaned up ChessGame.java.
Merge remote-tracking branch 'origin/master'