applicationCache fix (if old script is missing cache can't update successfully)