Knockout binding to conditionally hide/show content depending on the width of the window.
Install with Bower
bower install knockout-responsive
Then add knockout.responsive.js to your project.
Include the script on your page (either via a normal script tag or via an AMD loader). Then use it like so:
<div data-bind="ifWindowGreaterThan: 500">big stuff</div>
<div data-bind="ifWindowLessThan: 500">small stuff</div>