made js exercise corrections