Error Resolve

Firefox caused error saying there is no "o.contains()" function.