by line changes and phonegap edits