JSHint: Allow unused function parameters
Make various lint changes per JSHint