js generation for angular-maha-countries