improved the nodejs modules