js header and events all