bugfixes for streaming and new dynamic js packages