JS class for a simple localization, great for PHONEGAP apps