JS Helper and utils