Fix #260 - initilize variables used in callbackData

variables maybe be empty in case there is no definition of .navbar in to
HTML.
Merge pull request #261 from gagustavo/master

Fix #260 - initilize variables used in callbackData