Correlation is for server returned values. As your value is generated by local JavaScript then you should either reproduce the algorithm in the language of your script to generate the value or use the facilities of LoadRunner to execute the JavaScript function which returns the value you seek.
Or....you can move "up the stack" for a virtual user type which will run the full client stack of the browser. This would include types TrueClient, GUI, Citrix and RDP.