new js helpers