Extracted WordDisplayer class
Create SrDialog class
Moved word displaying to SrDialog.
Extracted ElementCreator class
Added missing semicolon
Made things private
More private vars and renamed.
Changed to use dictionary
Tidied formatting
JSHint
Changed to static class.
Created Looper class.
JSHint
Marked as constructor and built new index