[Git][ghc/ghc][master] 2 commits: JS: fix array index for registers