Additions for various dom related things

Fixed a bug with setInterval. Added various dom related things that I have found useful.