Correct encodeJsCall in RepoAccessModule

Change-Id: I8fc3403b08eb1766534c5d8c1b4b68d4aaeca585