moved some context to DEFINE for (inline) modules
check for dom nodes (unfinished)
updated to new parser