Apply suggestions from @jenow
Apply suggestions from @jenow

Co-authored-by: Kévin Blondel <232706d6abb0b19bae20022803e74699956442a9@gmail.com>
kuzzleio/sdk-javascript,kuzzleio/sdk-javascript,kuzzleio/sdk-javascript,kuzzleio/sdk-javascript