Created server.js, cleanup of leaf.js and tree.js (before deleting).