Javascript Artificial Intelligence Experiments