Modified words.js and server.js

expose regex patterns for testing and altered the way the get call accesses the results. I'm thinking that this makes the regex magic easier to test by exposing the patterns that are created and executed.