A small localization library in javascript