Cleanup semicolons, console.logs. Add a url.parse.