adding JQuery functionality to Profiles