fix console warnings
Merge pull request #13 from okredo/fix_parse_url_error

fix console warnings