Corrected file structure and snippets to fit Node.js as well.