updated composer.js