Use has functions instead of dojo properties to detect Safari with regards to issue #412