Fix ua-parser require issue

In 44ed552b542dc65e7cfe9360ebd631fc7eeb0a75 the dependency has been
changed in package.json but it was not updated in the code.