add some sandbox code in chain/ for building up browser support