Floats Handling and PDF.js support