Fixed null on missing trend data, added refresh on ago change, moved script loading to bottom of index.html