Added midnight.js and header switching.