lib.macademia.history.js functions are all working