fs not defined:
Uncaught TypeError: undefined is not a function