fixed bug in header

First of all thanks for this wonderful plugin. When I using page without page header (div with 'yld-def-header'), it showed "undefined" in the header section. I checked your code, It is not an optional. So, I put one condition and make it as optional. Now, it's working fine.