Ignore function declarations in JSHint

Avoids an error where JSHint was producing a violation if a function was used
before its declaration, which is completely valid in JS.