Javascript Error objects to throw.