Entity dom element creation