adding nil checks on index JS
update viz mapped output on updating data
Merge branch 'master' of github.com:pykih/statistics