Use absolute url for status_counts in js