Do a proper global string replace...

JS, your .replace function is silly. Or at least greedy.
Fix styles for parity with data.gov.