Unified Phonegap and Desktop Environments

Eliminated all of the test code that was needed for HTML5 on the server
- it caused all sorts of relative link problems