added AI to the web demo