Fixes the problem with writing a file using streams and not using RAM based on 'exeljs'
Extends javascript prototypes and functionality