Fix jshint errors and add to dist.