roll back samples/Javascript/Shared to the ref before.