Returning createURL to original datastructure, using built-in serialisation
Refactoring initLocation: mostly stylistic, identifying and eliminating duplication, flattening if/else with a return to have a flat function
Formatting fixes + chaining variables
Flattening if statement with a return, hoising variables to top of function
using native loops
Refactoring the roulette functions into one class with several method, wrapping the globals up into an anon function
hoisting variables out of look to avoid repeat declaration
Caching result to avoid searching entire dom for children and repeat use. removing over-qualified selectors