Fixed the html element to div. Also added the basic implementation of entityform by a normal form_alter.