linting fixes for compose.js