try fix jquery closest could fail