header edits and js clean up