Fixup jshint, add export