testing node and javascript code