Pulled out constant to configurable global.
Implemented Reset and refactored some of the Ajax calls.
Refactored init code.
Refactored a minor bit of DOM-intensive code.