The work that I did for pdf.js durin GSoC 2014