Fixing things to get demo back to work
Make jslint happy
Updating dist files