Edit in JSFiddle

     // enter key
     $(document).bind('keypress', function (e) {
         if (e.keyCode == 13) {
             $('#search').trigger('click');
         }
     });


     $('#search').on('click', function (e) {
         resetdata();
         $.ajax({
             dataType: "json",
             url: 'https://ee.internetvideoarchive.net/api/Expressstandard/actions/search/',
             data: {
                 'appid': 'eba4cf26',
                     'term': $("#term").val()
             },
             success: function (d) {
                 success(d);
                 showResponseOutput(d);
             },
             error: function (err, result) {
                 showResponseOutput(err.responseJSON);
             },
             statusCode: {
                 204: function () {
                     resetdata();
                     ShowNoResultsMessage();
                 },
                 500: function () {
                     resetdata();
                     ShowErrorMessage(500);
                 },
                 401: function () {
                     resetdata();
                     ShowErrorMessage(401);
                 }
             }
         });
     });

     function ShowErrorMessage(code) {
         $("#output").append("An error occurred on the server with response code " + code + ".");
     }

     function ShowNoResultsMessage() {
         $("#output").append("Nothing found for your search term '" + $("#term").val() + "'.");
     }

     function showResponseOutput(data) {
         $("#responseoutput").empty().append(JSON.stringify(data, null, '\t'));
     }

     function success(data) {
         var TemplateScript = $("#header").html();
         var theTemplate = Handlebars.compile(TemplateScript);
         $("#output").append(theTemplate(data));
     }

     // empty the divs where we populate data.
     function resetdata() {
         $('#output').empty();
     }
<div class="container" style="margin:10px;">
    <div class="row">
        <div>
            <div class="input-group">
                <input type="text" id="term" style="" class="form-control" aria-label="enter id" placeholder="Enter movie title." /> <span class="input-group-btn">
                 <input type="button" class="btn btn-primary" id="search" title="search" value="search" />
            </span>

            </div>
            <!-- /input-group -->
            <div id="output"></div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12" style="margin-top:30px">
            <div class="panel panel-default">
                <div class="panel-heading">Output Panel</div>
                <div class="panel-body"> <pre id="responseoutput"></pre>

                </div>
            </div>
        </div>
    </div>
</div>
  <script id="header" type="text/x-handlebars-template">
        {{#each this}}
        <div class="panel panel-default" style="cursor:pointer">
            <div onclick='$("#{{PublishedId}}").toggle()' class="panel-heading"><a>{{ Title }}</a>
                <br />Year: {{ FirstReleasedYear}} <br />
                Performers: {{Performers}}<br />
                Last Modified: {{DateModified}}
            </div>
            <div id="{{PublishedId}}" style="display:none;" class="panel-body">
                <div class="videosection">
                    {{{Assets.0.EmbedCodes.0.EmbedHTML}}}
                </div>
                <div class="metadatasection">
                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <td><b>Property</b></td>
                                <td><b>Value</b></td>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>Title</td>
                                <td>{{Assets.0.Title}}</td>
                            </tr>
                            <tr>
                                <td>MediaType</td>
                                <td>{{Assets.0.MediaType}}</td>
                            </tr>
                            <tr>
                                <td>PublishedId</td>
                                <td>{{Assets.0.PublishedId}}</td>
                            </tr>
                            <tr>
                                <td>DurationInSeconds</td>
                                <td>{{Assets.0.DurationInSeconds}}</td>
                            </tr>
                            <tr>
                                <td>Mature</td>
                                <td>{{Assets.0.Mature}}</td>
                            </tr>
                            <tr>
                                <td>OriginalVideoWidth</td>
                                <td>{{Assets.0.OriginalVideoWidth}}</td>
                            </tr>
                            <tr>
                                <td>OriginalVideoHeight</td>
                                <td>{{Assets.0.OriginalVideoHeight}}</td>
                            </tr>
                            <tr>
                                <td>TargetAudience</td>
                                <td>{{Assets.0.TargetAudience}}</td>
                            </tr>
                            <tr>
                                <td>AllowAdvertising</td>
                                <td>{{Assets.0.AllowAdvertising}}</td>
                            </tr>
                            <tr>
                                <td>isDefault</td>
                                <td>{{Assets.0.isDefault}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="2">
                                    Data shown is from the first asset returned.
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                       
</div>
            </div>
        </div>
        {{/each}}
    </script>