This scripts detects what Bootstrap breakpoint is active and lets you use that to run javascript functions and actions.
Get on GitHub