Get the stuff on the script task side done.

Next: Need to implement the offsetParent query in the layout task
Finished first part of offsetParent spec: return null if node is body element