data-entities, fixed .ready call