Fixed bullshit PhoneGap bug