initial commit of monadsd in javascript. One big file, but it works.