Updated npm dependencies
Code cleanup - use existential operator instead of isnt null