First pass of dom.js

Signed-off-by: Blake Stephens <blake.stephens@lge.com>