Update js/exercise.js

Why am I returning something "passed as reference"?