all node js functional