Minor Safari JS Fix