convert stops.js to spaces