re organised file structure so it was logical and split the markup from the style and function
rearranged files into better structure, should really restage to demonstrate where the files are coming from but being lazy :)
started the process of turning the code into a module, including a conditional check to see if a hangman object has already been created by another library
finally managed to merge the two getWord and theWord functions into one that is more logical, with closed arguments fed in by a self invoking function, see line 21 to 30. Now onto the main api of the function