a javascript plugin that implements functions for browser and device detection