get pages.js working, get rid of IMO unsafe auto linking
cleanup and frontend