serve history.js ourselves