modular version of netlogo data-export code

The javascript code in application.js now only
supports the new modular JSON data-export library