added sync node js