Put add_result.js file on all pages

We'll probably use compressed js files soon anyway.
minor js refactoring
Don't use player name in CSS selector

Since special characters in the player name could mess things up