upgrade/nr.js: completely refractor nr.js to manage global NR definitions and references
upgrade/nr.js: completely refractor nr.js to manage global NR definitions and references

kaelzhang/neuron,kaelzhang/neuron,kaelzhang/neuron