Converted Boot.js to a node style