add json + change functions
add json comparator, not finished
add phonegap.js into repo