Handling 'window is not defined' in Node.js - Fixes #257