Update EchoExtension.php

Fix param annotation, fixes #535
Move collection form js into a widget
Remove unexisting file reference
Fix collection script
Cleanup code
Enable JS