Pedometer App to run on Phonegap Build