Allow being used as node module