added sdk conventions for javascript sdk