NuPIC's cortical learning algorithm written in Javascript for the web.