Making JS and Java API consistand with each other. These are JS specific
changes.
Merge pull request #501 from RajmeetBal/APIConsistancyActivityStreamsJS

Making JS and Java API consistand with each other. These are JS specific