fix(questDirectives): fixed IE8 error with undefined patterns