Adding JS based mobile detector.