Update composer.js

Wrong compare to "undefined" and name.length of undefined.
Because it's not part of the var declaration, it should be indented normally