js for loading language data