Exercise for js.