Surface aloha as a function and namespace
Use misc.defined()
Implement dom.offset()
Implement caret positioning