test mobile detection via js