JS homeworks