Added mobile detection javascript