Revert changes  made to jspdf.js, they weren't necessary, instead added a `modules = {}` (workaround suggested by @diegocr)