one js for node and browner