Changes to the javascript functions

+ onload at the end
+ switch instead of if
+ more conditions: e.g. if no champ's selected for any role
+ for in loop variables are now local not global
+ some missing ;
+ playerLimit is now a individual variable
+ catch if some browser doesn't support localstorage. (They should do
for full functionality)
+ some for-in-loops are now for-loops
+ checkRoleSelection

- some unusual "var"s
- long notations for the same values
Removed uneccessary variable

+ Added my name
- champsSelected
Merge pull request #1 from valentinouno/master

Improvements and some additional functionality