saves dom elements as variables