cleanup, add phonegap request header