updated base urls to be relative

amended test script to suit relative url
added links back to the index.html page
Lots of extra spaces in here too. Any reason why @developersteve