success/failed js_response helper methods