Javascript based chemical process simulator