Add addJS method to PdfFileWriter

Added addJS method to writer (taken from https://github.com/mfenniak/pyPdf/pull/39)
What's the point of making the self.root attribute public?