tidied up basepage.html