A simple jquery plugin to detect which bootstrap viewport is currently in use (i.e. 'md' or 'xs')