changed variable name device to mydevice cause of possible android bug
changed variablename in index.html
added geolocation quirks fix for android 2.x and increased timeout to 10 secs