Introduce JSHint

Remove unused variables in order to pass.