Escape 's in javascript for report data