braid demo initial commit. Not the finest javascript...