Add flags classes to navigation entries. Using JS getters to keep it smooth and clean.