[BUGFIX] Properly encode text in JS in install tool