JS ifelse exercises completed