Object property missing spaces
<p>I have an array as follows:</p>

<pre><code>var voxels = [];
</code></pre>

<p>I also have a variable called <code>locationId</code> which contains a string i.e.</p>

<pre><code>child.geometry.locationId = "Some random location";
</code></pre>

<p>When I do</p>

<pre><code>voxels.push({x: child.position.x,
             y: child.position.y,
             z: child.position.z,
             t: child.geometry.name,
             id: child.geometry.locationId
            });
</code></pre>

<p>the string in the <code>id</code> variable ends up as <code>"SomerandomLocation"</code> when I do</p>

<pre><code> var dataUri = "data:application/json;charset=utf-8," + JSON.stringify(voxels);
 window.open(dataUri, 'mywindow');
</code></pre>

<p>although I have just noticed that the Url does contain the space but the data on the page does not.</p>
