changing the DOM stuff to make it a little nicer
updating for the DOM chages, added Array.invoke
update for faster parsing
test updates