loads history.js as appropriate; site works locally