preload scripts hated on by ios safari