testing for a js error by reordering