Plus, JPMorgan lays off hundreds, citing "cyclical changes" in housing mortgage market.