parameterized things prior to deploying

shuffled things around a bit

now call in HTML file with:

``` html
    <script src="build/build.js"></script>
    <script>
      var display = require('detector_milepost_display')
      display('#formDetector','#inputDetector','.chart')
    </script>
```

that is, pass the form id, the input id for the detector, and the class
for the charts.

This way other stuff can do similar things without obliterating plots,
just give the plot a different class