[JENKINS-17050] Close pop-up menu when clicking outside.

Update min.js file as well as debug.js