reformat resource files for safari mobile