Update solution.js

The call to slice seems superfluous, no?