my js utility