A modified version of cornify.js