Replaced previous exprt.js AIMove code.