javascript fold cancel