JPMorgan takes hit in trading book