adding ajax call for updating scores
removing old js file