How to inject value/variable into JS