* read directly from templates * refactor nodejs structure * dont inject into global scope * move to 2 spaces consistently