Update composer info
Refactor JS