Members + Templates: code standards improvement for the profile field "clear" button JS. Also adds jsdoc.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8007 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Merge branch 'master' into xprofile-types

Conflicts:
	bp-members/admin/js/admin.js
	bp-templates/bp-legacy/js/buddypress.js