fix button activate
finished off js for selecting exam