how to pass value from one js to another