tweaked markup; added necessary JS.