Adding polyglot for I18n and taking steps in code reformatting to fit Airbnb JS standards.