injecting debug via .json; access origin on phonegap build