Sugar CRM Javascript REST API Wrapper