Sorry I forgot to hint my code and of course JSHInt recommends to write in dot notation