Clicking on browser action generates JS error
https://www.pivotaltracker.com/s/projects/640243/stories/53878263

Same issues like with the background window also with the popup window(s). Fixed.

Signed-off-by: IUnknown68 <arne@salsitasoft.com>