refactored showTestRouteBtn() and checkRouteStatus in grails-app/views/webconnection/_validate.gsp and added appendButton in mediumPopup.js