Java ME: Smart browsing on dumb phones