Minor fixes, refactoring and optimization

* "$steamids" seems redundant when all our IDs are Steam IDs
* Prefer early return over large block of further indented code
* No space between .earned and .player since the DOM change
* Why did I choose #373736 before?
* Cache some jQuery selections that are used more than once