updated autochange to wait for dom completion.

Updated to wait for DOM completion. I've tested this on a local copy of kardboard, but not having decent test data makes it a little difficult (any ticket I create, no matter the status, becomes a 0h ticket in its given column).