Escape quotes to keep javascript happy.