Splitting paperwork-note.js into separate files