Move 'http(s)' check.

Before I was getting this error when I had the input `ryanjacobs.io/css/style.css`:
![error message](https://cloud.githubusercontent.com/assets/4251257/5565390/6ff5fc12-8ead-11e4-89e7-43a934c5b205.png)

But now I moved the http/https check to before we run `encodeURIComponent` and it works just fine. :smile: