api fixes
CRM-13179 fix js to cope w memberships
status on CRm013179