Add js equivalency