Update header.js

Don't use bitwise AND, when logical AND is desired.