I built this Chess Interface and AI using the chess.js chess library from jhlywa.
The AI uses AlphaBeta algorithm which is a shortcut version of minmax. It has a terrible board scoring function and is incredibly slow due to the string based chess.js chess engine.
Read more about it on my blog or try it out here.
This project is free as in beer.