A few js-hint fixes + build.