add support for constructing a DOM Tree for cues
add a fake window constructor to the test harness
oncue is only called for fully parsed nodes now, so no need to worry about the .seen flag
add a test for DOM Tree construction
add test for parsing class names in cue content
remove remaining js-shell-isms