check border-image before DOM Ready