Removed debug
Added console error for domInsert