basic node and javascript example