Trim vid in case of rouge line breaks in ajax output. Change debugger method.