Js exercise 1 : better construct than if elseif else(i.e switch )added and repetitive string changed