refine urllib code

- Update the npm test command
- Remove the unused code
- Fix the debug message
Merge pull request #41 from JacksonTian/refine

refine urllib code