Initial changes to make this work from the browser, removing path
support.