Implemented MDN mobile detection recommendations.