moving js back into the view because the pipeline is broken and I need t...

...o present this thing