Attempt at a phonegap based aplication