lib-ized some stuff for gh-pages support