bundle the loader to simplify end-usage
fix demo to run as local file without needing to start the server