cleaned up header.js