PhoneGap: Remove last line from config.xml