fixed some linting problem
Merge branch 'master' of https://github.com/cosmosgenius/resistorjs