JSHint fixes and new dist files