A javascript chess engine and AI currently in progress