anchor.diff:              <%= f.select(:native_language_id, options_for_select(@languages_select_array), {},{class: "form-control", id: "omniauth-select", onChange: "omniauthCreateFlag(this);"}) %>
             </div>
             <div class="container omniauth-flag">
  -            <img src="https://raw.githubusercontent.com/tgoldenberg/Speakit-Static/master/app/assets/images/english.jpg" class="image-box language-flag"></img>
  +            <img src='<%= asset_path("languages/english.jpg")%>' class="image-box language-flag"></img>
             </div>
           </div>
   
  
positive.code: 
  <script>
    var omniauthCreateFlag = function(e) {
      var images = ['<%= ActionController::Base.helpers.asset_path("english.jpg") %>',
                    '<%= ActionController::Base.helpers.asset_path("chinese.png") %>',
                    '<%= ActionController::Base.helpers.asset_path("spain.png") %>'];
      var value = parseInt($(e)[0].value);
      $(e).parent().next().children().first()[0].src = images[value-1];
    };
  
negative.code:             <%= f.select(:study_language_id, options_for_select(@languages_select_array), {}, {class: "form-control",  id: "omniauth-select", onChange: "omniauthCreateFlag(this);"}) %>
            </div>
            <div class="container omniauth-flag">
              <img src='<%= asset_path("languages/english.jpg")%>' class="image-box language-flag"></img>
            </div>
          </div>
        </div>
  