     @_get
       url: "#{source}.json"
       success: (data) =>
-        document.getElementById('commits').innerHTML = data.html
+        document.querySelector("div#commits").innerHTML = data.html
         $('.js-timeago').timeago()
         @commitsLoaded = true
         @scrollToElement("#commits")

    @_get
      url: "#{source}.json" + @_location.search
      success: (data) =>
        document.getElementById('diffs').innerHTML = data.html
        $('div#diffs .js-syntax-highlight').syntaxHighlight()
        @diffsLoaded = true
        @scrollToElement("#diffs")

    @_get
      url: "#{source}.json"
      success: (data) =>
        document.querySelector("div#builds").innerHTML = data.html
        $('.js-timeago').timeago()
        @buildsLoaded = true
        @scrollToElement("#builds")
