Tidied up Disclaimer Javascript so it is much tidier