before paper
js edit