Fixed JShint errors and switched to unused:vars.

Switch was due to when implementing interfaces one often does not
used certain values on purpose. Vars mode still checks for unused
variables and functions but it will ignore unused parameters.