Allow metadata to be deployed in the browser

This is a fix to #69 as provided by @rdietrick.