console.log to test if statement in header.js