Generates PDF using Hummus PDF Writer with JS config objects