Fixed a bug in header.js that caused popcorn to be inoperable without data source available.

Signed-off-by: ohanetz <o.hanetz@gmail.com>