Intention.js offers a light-weight and clear way to dynamically restructure HTML in a responsive manner.
Easily increase layout options and flexibility, reducing development time and lessening the necessity of media-query-driven stylesheet overrides.
via intention.js.
Very interesting JavaScript library that promises to provide developers with tools to dynamically restructure HTML on a page based upon the context that the page is opened in. Built in are the responses to device contexts that allow you to swap out assets and HTML based upon screen size. The really interesting thing is that you can extend it to respond to other contexts, like time of day, touch capabilities, and more.
Intention.js requires jQuery and Underscore.js to work.