changing the existing variable to new variable name in js code example
Example: js changing name variable
window[someVaribale]="foo";
window["name_" + someVariable]="foo";
window[someVaribale]="foo";
window["name_" + someVariable]="foo";