Fixed various bugs, added support for media queries
Ported some of the examples of the previous polyfill

Not all are working already, however...