added ios safari stuff