install js, update step 3, change classnames for errorDiv and warningDiv