New js file to handle disclaimer validation

added new js file  refined index.html page