standardizes content display template for state gun legislation project
adds js helper to see if element exists