fixed appCache.update error.

webkit-app Error Message:
InvalidStateError: Failed to execute 'update' on 'ApplicationCache': there is no application cache to update.