JavaScript new homeworks