add functions js exercise