Tweak JS confirm resource example