Big commit. Modularized with require.js, added simple AI.
Out with the old, in with the new. Updated README.md and cleared up old, unused code.