Reorganize code with require.js, sepecrate pdf_render, pdf_note, pdf_panel and the main pdf_reader