a complete linux rewrite in node js