Using jQuery in the popup