added support to open with nodejs