e.contains is not a function