Reverted some phonegap related code.
Merge pull request #259 from scrollback/sessiondel

Reverted some phonegap specific code.