Modified compose.js