fixed the issue of domain JS API for linkedin : it was because the properties were not given in new line