updated base urls to be relative

amended test script to suit relative url
added links back to the index.html page
yup it was a php formatting pack (now removed), cleaning up and will push