Revert "support for EnableEmbedUiConfJs via uiVars"

This reverts commit 6de4533f0ca927e2d96f2f5975a014f1d234b5cf.
Revert "Load local library"

This reverts commit 1d19b6a80f18fbfc567431681c0f429bc19198cc.