Correct jscs config and found errors

Thanks @zxqfox