Updated property detection to support older browsers