JS-homeworks - small changes