Fixed bug with the AJAX URL.
More refactoring (constants extracted).
Cleanup (dropped inner layer - not needed).
Merge pull request #101 from blackhydrogen/basic-encounter-info

Basic encounter info
Minor refactoring.
Added logic to handle the different resize events.
Added some formatting fixes.
Merge pull request #102 from blackhydrogen/basic-encounter-info

Basic encounter info