added respond.js
extra controller for client