Replaced POST IO with ajax call. Currently skeleton code. Working ajax call to webapp.rb script.
Push for code check.
Working (random) AI based on AJAX IO method.