Fix #326 by removing redeclared variables

'wm' and 'window' were declared earlier using let, and re-declared here with the same values. Removing the second declarations fixes the "TypeError: redeclaration of let wm - kprpcClient.js:1073" error.

This seems to fix things for me, and running js -c on all the js files in the addon didn't show any other errors.