Shareability

Behavior:
- Generates a unique 2 character string that can be placed in the URL to replay a user's saved dream.
- Removes all modals so when the webpage loads, it fades into the user's saved dream sequence.

Oddities:
- Still refreshes at the end of the dream, thereby, replaying the same dream sequence, over and over until user leaves the URL.

Notes (please read):
Since this is not an AJAX call, the returned hash/JSON from the database could not be directly handled by the JavaScript code. Instead, it had to be passed through an instance variable, that loads it on the DOM itself. Then a jQuery call captures that data and saves it into a variable for further manipulation by the JavaScript logic.