Added a retry mechanism to Node JS dependency installation