various fixes related to getting swarmjs example working!!