rebuild dom to use an array-like object

The standalone file was not rebuild after using dom as an array-like object, might be missed.