Namespace implementation in NodeJS