Fixed issue with js response