migrate to 1.1 version and add platform phonegap