move things into a vagranty situation, and add history support for modern browsers