don't return a string the value 'undefined' if there is no battery info
removed debug url
clean up tooltip