cleanup mountain.js