profile edit: reference to js method changed