handle nodejs packages upgrade  from npm registry
reuse common code

check for new version in common place not each package override
fix vim version checking