init docs
annotate ElementAllocator
annotated entity.js