fixing JS hint errors for strict-tokens