Changes for W3C compliance and conversion of legacy jquery-ui code to bootstrap.