add past.js;ready to support published history