Simplify DOM manipulations