Tic-tac-toe with Backbone.js and various A.I. strategies