[fix] hasClass - rgx boundery replaced with indexOf and spaces around