An artificial intelligence javascript library