I seem to remember doing this in the past and stuck.
I have variables being created throughout the page like something_1 = one. I am trying to put two variables together like 'something_' and '1' to return the value of the variable, 'something_1'
var x = 'something_';
var y = '1';
var z = x+y
alert(z); // should be 'one' but is 'something_1'
<script>var something_1 = 'one';</script>
<script>var something_2 = 'two';</script>