Replace css3-mediaqueries js library by respond.js and update border-box inheritance method