iOS JS fix try 2