init with phonegap +Framework7