Device detection for Core-JS