Remove unused JS
Use a better method to calculate points
Add a modal form for new results, and the relevant code to process it