Rebase to first jsdelivr commit, (permission) error handling and fix exclude pattern