checks node version