attempted to make phonegap work at a basic level