Update sonos.js

My bad... A few bugs...