implemented echo view
fixed js
fixed js