US stocks end week with huge losses, fear index soars