Fix #260 - initilize variables used in callbackData

variables maybe be empty in case there is no definition of .navbar in to
HTML.