Fixes jsHint warnings.