Simple Bmi calculator using cordova