adding additional JQuery functionality to discover