D3 in asset pipeline. Better Angular code. Cookies are now being set for Hero_id