Improve JSHint compatibility