Cross-platform terminal screen clear (Node.js)