update method of getting base_url
Merge pull request #1 from clytwynec/clytwynec/fix-js-error-in-har-viewer

update method of getting base_url