What if selector is null? `TypeError: Cannot read property '0' of null`