w(201680) .then(function(resp){ if ( ! resp) return; if ("views" in resp === false) return; var view_count_element = jQuery('.ts-views-count'); if (view_count_element.length) view_count_element.html(resp.views); });