Simple JS module to detect user's browser details and operating system