Removed superfluous (?) query that caused strange errors on phonegap