JavaScript Web App - Artificial Intelligence