optimising creatURL with some functional JS and a slightly different data structure
Overqualified selectors, querySelectorAll is fast but getElementById is faster. As IDs are unique, there should be no need to qualify them with elements
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
Merge pull request #40 from mstrutt/feature/code-review

Feature/code review