Refactors NVM_SOURCE
Merge pull request #567 from xcambar/nvm_source

[install script] Refactors NVM_SOURCE