add css3-mediaqueries.js from https://code.google.com/p/css3-mediaqueries-js/ and include it