For testing with Phonegap using a reduced version